package com.itnoob.demo3;

/**
 * @author zhoujun
 * @date 2025/3/21 22:12
 */
public class HelloServiceImpl implements HelloService{

    private String name;

    public HelloServiceImpl(String name) {
        this.name = name;
    }

    @Override
    public void sayHello() {
        System.out.println("Hello,this is "+ name + " service!");
    }
}
